hem (someone) in

Translations
загонять (кого-то) в угол
The sheep were hemmed in by the fences.
Овцы были загнаны в угол забором.